s1="abcdefg"
for a in s1:
    print(a)
# 索引遍历
print(len(s1))
for  a in range(len(s1)):
    print(a,"--->",s1[a])
